defaults ( service in module ng )

Description

Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations.

See "Setting HTTP Headers" and "Transforming Requests and Responses" sections above.

Usage